crypto/tls.SessionState.peerCertificates (field)
18 uses
crypto/tls (current package)
handshake_client.go#L400: if c.config.time().After(session.peerCertificates[0].NotAfter) {
handshake_client.go#L410: if err := session.peerCertificates[0].VerifyHostname(c.config.ServerName); err != nil {
handshake_client.go#L949: c.peerCertificates = hs.session.peerCertificates
handshake_client_tls13.go#L463: c.peerCertificates = hs.session.peerCertificates
handshake_server.go#L515: sessionHasClientCerts := len(sessionState.peerCertificates) != 0
handshake_server.go#L523: if sessionHasClientCerts && c.config.time().After(sessionState.peerCertificates[0].NotAfter) {
handshake_server.go#L550: c.peerCertificates = sessionState.peerCertificates
handshake_server_tls13.go#L362: sessionHasClientCerts := len(sessionState.peerCertificates) != 0
handshake_server_tls13.go#L370: if sessionHasClientCerts && c.config.time().After(sessionState.peerCertificates[0].NotAfter) {
handshake_server_tls13.go#L425: c.peerCertificates = sessionState.peerCertificates
ticket.go#L90: peerCertificates []*x509.Certificate
ticket.go#L142: Certificate: certificatesToBytesSlice(s.peerCertificates),
ticket.go#L241: ss.peerCertificates = append(ss.peerCertificates, c)
ticket.go#L243: if ss.isClient && len(ss.peerCertificates) == 0 {
ticket.go#L258: if len(ss.peerCertificates) == 0 {
ticket.go#L261: chain = append(chain, ss.peerCertificates[0])
ticket.go#L304: peerCertificates: c.peerCertificates,
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |